package com.zj.common;

/**
 * @author zhangbo
 * @program: PDF-helper
 * @ClassName ResultEnum
 * @description: $
 * @date 2023-05-22 22:44:26
 */
public enum ResultEnum {

    /**
     * 成功返回
     */
    SUCCESS(200, "成功"),

    /**
     * 通用异常，系统异常
     */
    ERROR(500, "系统异常"),

    ;

    private Integer code;

    private String msg;

    ResultEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

}
